package edu.uoc.tdp.pac4.common.interfaces;




import java.rmi.RemoteException;
import java.util.List;
import java.util.Map;

import edu.uoc.tdp.pac4.common.beans.S2_2PiecePrice;
import edu.uoc.tdp.pac4.common.beans.S2_2PieceType;
import edu.uoc.tdp.pac4.common.beans.S2_2Supplier;
import edu.uoc.tdp.pac4.common.beans.S2_2CarTrademark;
import edu.uoc.tdp.pac4.common.exception.*;

public interface S2_2Interface extends java.rmi.Remote {
/*
	
	
	
	
	
	
	
	

	
    //public List<S2_2Supplier> GetAllSupplier() throws RemoteException, S2_2ExcSupplier, S2_2ExcDatabase;
    
   
	public List<S2_2PiecePriceInf> GetPiecePriceOfSupplier (Integer supplierID) throws RemoteException, S2_2ExcDatabase, S2_2ExcPiecePrice;
	*/
	public  List<S2_2Supplier> consultaProveedores() throws RemoteException, S2_2ExcSupplier, ExcepcioConnexioBD;	
	public List<S2_2PiecePrice> consultaPrecios(int pIdProveedor) throws RemoteException, S2_2ExcSupplier,ExcepcioConnexioBD;
	
	public List<S2_2CarTrademark> GetAllCarTrademark () throws RemoteException, S2_2ExcDatabase, S2_2ExcCarTrademark, ExcepcioConnexioBD;
	public List<S2_2PieceType> GetAllPieceType () throws RemoteException, S2_2ExcDatabase, S2_2ExcPieceType, ExcepcioConnexioBD;
	public String CalculateQuotation(Integer carTrademarkID,Map<Integer,Integer> pieceTypeQuantity) throws RemoteException, S2_2ExcDatabase, S2_2ExcPiecePrice, S2_2ExcSupplier, ExcepcioConnexioBD;
	
	  
	//public List<S2_2Supplier> consultarPrvs(Date fecha) throws RemoteException, S2_2ExcSupplier;

	//public List<S2_2Supplier> consultarPrvs(int pIdActividad) throws RemoteException, S2_2ExcSupplier;
	
	/*

    List<Supplier> consultarPrvs() throws RemoteException, ExcDatabase, ExcPiecePrice;
	 * */
	
/*
	public List<S2_2PiecePrice> consultarPreusPrvs(int pIdProveedor) throws RemoteException, S2_2ExcDatabase, S2_2ExcPiecePrice;
	public List<S2_2PiecePrice> consultarPreusPrvs() throws RemoteException, S2_2ExcDatabase, S2_2ExcPiecePrice;
	*/
    
 
   

}
